package homework.day10;

/**
 * @author ThinkBook
 */
public class Test1DivisionByZero {
    public static void main(String[] args) {
        Test1DivisionByZero test1DivisionByZero = new Test1DivisionByZero();
        test1DivisionByZero.division();
    }
    public void division(){

        try {
            int a = 10 / 0;
        }catch (Exception e){
            e.printStackTrace();
        }
    }
}
